package org.fanximall.erp.framework.mybatis;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @author :  william
 * @version :  V1.0  created in 2024/4/23
 */
@Component
public class MybatisPlusConfig {

    @Bean
    public MySqlInjector sqlInjector() {
        return new MySqlInjector();
    }

    @Bean
    public BaseDOMetaHandler metaHandler() {
        return new BaseDOMetaHandler();
    }


    @Bean
    public DataChangeRecorderInnerInterceptor dataChangeRecorderInnerInterceptor() {
        return new DataChangeRecorderInnerInterceptor();
    }
}
